package me.jessyan.mvparms.demo.mvp.ui.activity.account;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.widget.TextView;

import com.jess.arms.base.BaseActivity;
import com.jess.arms.di.component.AppComponent;

import me.jessyan.mvparms.demo.R;
import me.jessyan.mvparms.demo.mvp.ui.widget.CustomToolbar;

/**
 * 修改登录密码
 */
public class PassWrodActivity extends BaseActivity {


    CustomToolbar toolbar;
    TextView srueTv;

    @Override
    public void setupActivityComponent(@NonNull AppComponent appComponent) {

    }

    @Override
    public int initView(@Nullable Bundle savedInstanceState) {
        return R.layout.activity_pass_wrod;
    }

    @Override
    public void initData(@Nullable Bundle savedInstanceState) {
        toolbar = findViewById(R.id.toolbar);
        srueTv = findViewById(R.id.sure_tv);
        toolbar.setListener(new CustomToolbar.ToolbarListener() {
            @Override
            public void onLeftBack() {
                finish();
            }

            @Override
            public void onRightBack() {

            }
        });
    }
}
